<?php



class IdiomaXReleaseMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.IdiomaXReleaseMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('idioma_x_release');
		$tMap->setPhpName('IdiomaXRelease');

		$tMap->setUseIdGenerator(false);

		$tMap->addForeignPrimaryKey('IDIOMA_ID', 'IdiomaId', 'int' , CreoleTypes::TINYINT, 'idioma', 'ID', true, null);

		$tMap->addForeignPrimaryKey('RELEASE_ID', 'ReleaseId', 'int' , CreoleTypes::INTEGER, 'release', 'ID', true, null);

		$tMap->addPrimaryKey('TIPO_IDIOMA_ID', 'TipoIdiomaId', 'int', CreoleTypes::TINYINT, true, null);

	} 
} 